﻿using Microsoft.EntityFrameworkCore;
using StaffModule.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StaffModule.DbContexts {
    //数据库上下文
    public class StaffDbContext : DbContext {
        //构造函数
        public StaffDbContext(DbContextOptions<StaffDbContext> options) : base(options) { }
        //
        public virtual DbSet<StaffDetails> StaffDetails { get; set; }

        public virtual DbSet<StuffOutWorkModel> StuffOutWorkModel { get; set; }
    }
}
